NetWare Client

Introduction

There are many steps to setting up the NetWare® Client and Administrative Utilities. Use this guide to install, configure, and use the NetWare Client and Administrative Utilities for Linux.

Documentation Conventions

This guide uses the following conventions.

Asterisk ( * )

An asterisk denotes a trademarked name belonging to a third-party company. Caldera® and Novell® trademarks are denoted with specific trademark symbols (®, TM, etc.).

An ownership listing of all (Caldera, Novell, and third-party) trademarks cited in a manual can be found either on the disclaimer page in the front or in a "Trademarks" section at the back of printed manuals.

Commands

DOS commands and command option letters are shown in uppercase letters. For example: FTPD. Because DOS is not case-sensitive, you can type DOS commands in uppercase or lowercase letters.

Linux commands and command option letters are shown in bold monospace font. For example: ls -l. Because Linux commands are case sensitive, you must type them exactly as shown.

Filenames, Directory Names, and Pathnames

DOS filenames, directory names, and pathnames are shown in uppercase letters (for example, AUTOEXEC.BAT). Because DOS is not case-sensitive, you can type these names in uppercase or lowercase letters.

Linux filenames, directory names, and pathnames are shown in bold monospace font (for example, NWInodes). Because Linux is case-sensitive, you must type these names exactly as shown.

Ellipses

Ellipses in syntax examples indicate that parameters, options, or settings can be repeated.

For example, in the command

LOGIN SERVER1/SUPERVISOR /option...

you could replace option with any number of available options.

Emphasis

Italic type indicates emphasized text. For example:

Remember to load the driver before you install the application.

Icons

The following types of information are marked with the icons shown:

Checklists, which often contain prerequisites, are marked with the "Checklist" icon shown to the left of this text.

Procedures to follow in order to accomplish a specified task are marked with the "Procedure" icon shown to the left of this text.

Additional or nonessential but noteworthy information is marked with the "Note" icon shown to the left of this text.

Vital information about system or software requirements, etc., that deserves particular attention is marked with the "Important" icon shown to the left of this text.

Guidelines or tips about fine-tuning, optimizing, etc., which might be applicable to your site or situation, are emphasized with the "Suggestion" icon shown to the left of this text.

Warnings about potential danger to data, hardware, or person are emphasized with the "Warning" icon to the left of this text.

Key Names

Key names are given no special treatment. For example, Enter corresponds to the Enter key on your keyboard. Ctrl+c means hold down the Ctrl key and simultaneously type the letter c (in lowercase, in this case).

System Response

Monospace type shows system-generated responses that appear on your workstation screen. For example:

TNVT220>

Keystrokes to be by the user are also shown in monospace type, such as:

rpm -i RPMS/nwclient+utils-PKGNUMBER.i386.rpm

Variables

In command syntax, italic type indicates variables--descriptive item names, such as command parameters--that you replace with appropriate values.

For example, in the command:

FTP F remote_host

you type the name of a computer on your network in place of remote_host.

Online Help

The following types of help are available:

* Context-sensitive help. For command utilities, if you are unsure how to use a command, type the command name and add the --help option for help. For example, for help with the RIGHTS command, type RIGHTS --help.

* Online Windows* help. The Windows help viewer allows you to read NetWare help developed for the Windows environment. To access the NetWare help screens within Windows, press <F1> or the <?> button.

Online HTML guides. This release includes NetWare Server guides in HTML format. To view these guides, visit Caldera's web site at http://www.caldera.com/products/ netware/.

You can also download these HTML guides from Caldera's FTP site in the /pub/netware/docs directory. After you download these guides, you must decompress the files using the "tar" command.

* User forum. If you have questions about installing and using the server, subscribe to the Caldera-NetWare user forum. This forum may provide helpful information and tips from other users who are using the server. (See the "User Forum" section on Caldera's web site at http://www.caldera.com/products/netware/ for details.)

Installing the NetWare Client and Utilities

The NetWare® Client component of Caldera® NetWare® for Linux lets you seamlessly work with NetWare 3.x and greater servers on your organization's network. You can work with these servers from any Linux command line without adding any additional software, and your system appears as another client to NetWare.

This section explains the following:

* Installing the NetWare client and utilities.

* Configuring IPX.

* Configuring the NetWare client.

The CD version of Caldera NetWare for Linux includes the NetWare Client for using printing services and the NetWare Utilities for administering the NetWare system.

This section includes how to do the following:

* Install the NetWare Client for Linux

* Install the NetWare Administrative Utilities for Linux

NOTE: If you installed the NetWare for Linux system to a Caldera OpenLinux 1.2 system using the update script, the NetWare client and administrative utilities were automatically installed at that time. If you want to install the client and administrative utilities on another Linux system, refer to this section.

Installing the NetWare Client for Linux

1. Log in as the root user.

2. Insert the NetWare for Linux CD into the CD-ROM drive, then mount the CD-ROM drive.

3. Change to the directory where the NetWare for Linux Caldera OpenLinux CD is mounted, then type

rpm -i RPMS/nwclient+utils-PKGNUMBER.i386.rpm

Press the Enter key.

Configuring the NetWare Client

When you installed the NetWare Client for Linux, the client was configured for immediate use. However, you can make changes to the default configuration at any time.

To reconfigure the NetWare client:

1. Log into the Linux client as the root user.

2. Open the /etc/sysconfig/daemons/nwclient file, and edit any of the following lines

 

Default Parameter

Description

ONBOOT=yes

Indicates whether the NetWare client will be started automatically when the system starts. If the client is active, NetWare servers and trees appear under the /NetWare directory, and all NetWare utilities will function.

To manually start the daemon, log in as the root user, and Enter

/etc/rc.d/init.d/nwclient start

NWCLIENT_SINGLE_CON-NECTION_TABLE=no

By default, each NetWare user has a separate connection table for NetWare resources. This means that if two different users are logged into Linux, each can log in to the same (or multiple) NetWare servers using different NetWare Usernames. In every case, the root user's access to NetWare systems is the combined total of all Linux users who have logged in to NetWare systems.

If this parameter is set to yes, all users will use a single connection table. You may find advantages to this, but it can restrict the usefulness of the NetWare client to any single user, and may also present security issues

For example, if two Linux users wish to access the same NetWare server, whoever logs in first will have their name in the connection table. While the second user can't log in again, because a connection already exists for that server, the second user has access to the NetWare server, based on the access rights of the first user's login.

You must now stop and then restart the NetWare client before your changes will be effective.

3. To stop the NetWare client, Enter

/etc/rc.d/init.d/nwclient stop

4. To restart the NetWare client, Enter

/etc/rc.d/init.d/nwclient start

Setting the NetWare Environment Variables

Many utilities provided with the NetWare Client for Linux do or can rely on environment variables for information about how to interact with your NetWare systems. If an environment variable isn't set, you must specify the information when you execute the command. For example, if the print queue and server variables aren't set, you must specify them when you print files; Otherwise, the system won't let you print files.

The following are NetWare environment variables:

 

To set this

Edit this environment variable

Preferred server when a server option is expected in the syntax

NWCLIENT_PREFERRED_SERVER

Preferred tree when an NDS tree is expected in the syntax

NWCLIENT_PREFERRED_TREE

Default context within an NDS directory tree for the username you provide

NWCLIENT_DEFAULT_NAME_CONTEXT

Default user name to use when logging in

NWCLIENT_DEFAULT_USER

NOTE: If this variable doesn't exist, your Linux name is used. If the NWCLIENT_DE- FAULT_NAME_CONTEXT is also set, you only have to enter nwlogin.

Deactivating and Activating the NetWare Client

Because the NetWare client is automatically activated when you install NetWare for Linux to OpenLinux using the update script or when you manually install the NetWare client, you must deactivate it if you don't want to use it. Deactivating the client saves system resources (approximately 500 KB of disk space and 1.2 MB of system memory). If you decide to reactivate the NetWare client, you can do so without restarting your system.

To deactivate or activate the NetWare client:

1. Log in as the root user.

2. Depending on whether you want to deactivate or activate the NetWare client, do one of these:

 

To deactivate the NetWare client

To reactivate the NetWare client

1. Enter

/etc/rc.d/init.d/ nwclient stop

1. Enter

/etc/rc.d/init.d/ nwclient start

2. If you don't want the NetWare to start the next time you you reboot your system, set the "ONBOOT" parameter to "yes" in the /etc/sysconfig/daemons/nwclient file.

2. If you want the NetWare client client to start the next time reboot your system, set the "ONBOOT" parameter to "no" in the /etc/sysconfig/daemons/nwclient file.

NOTE: In most cases, you don't need to restart your system after you deactivate or activate the NetWare client.

Using the NetWare Client for Linux

This section explains the following:

* Starting to use the NetWare client.

* Accessing NetWare files.

* Printing with NetWare.

* Viewing or delete print requests.

Starting to Use the NetWare Client

All NetWare servers that are visible on your network are automatically available as part of your filesystem by browsing through the directories of your system.

This section explains how to do these tasks:

* Log in to NetWare servers and directory trees.

* Log out of NetWare servers and directory trees.

* Access the NetWare directory structure.

* Identify login information.

* Change passwords.

Logging in to NetWare Servers and Directory Trees

Before you can view or store information in NetWare objects or view directories and files, you must log in (be authenticated) to a Bindery server or NDS Directory tree. Once you're authenticated to a server in an NDS Directory tree, you can view any files and directories on that server (according to your access rights).

NOTE: If you try to view NDS objects in a tree that you're not authenticated to, or try to reach files on a volume that your login did not give you rights to use, the corresponding Linux directory appears empty.

Procedure

To log in to a server or tree:

1. Depending on how you want to log in, choose one of these:

 

To log into this

Do this

NDS directory tree if the environment variable is set

Enter nwlogin NetWare_username.

Examples:

nwlogin nwelch

nwlogin

NOTE: To set up an environment variable that automatically sets your default name context for NetWare, edit the NWCLIENT_DEFAULT_NAME_CONTEXT environment variable.

NDS directory tree if you haven't set the environment variable

Enter nwlogin user_context .

For example:

nwlogin .nwelch.pubs.utah.caldera <Enter> NOTE: To set up an environment variable that automatically sets your default name context for NetWare, edit the NWCLIENT_DEFAULT_NAME_CONTEXT environment variable.

A certain NDS directory tree

For example:

nwlogin -t Simpson -u .nwelch.pubs.utah.caldera

A certain server in a directory tree

Enter nwlogin -t tree -u username.

For example:

nwlogin -s Server1 -u .nwelch.pubs.utah.caldera

NOTE: You can also access any other servers in the same NDS directory tree as the server you specify (according to your access rights).

Nearest NDS directory tree using your current Linux username

1. Type nwlogin and press <Enter>. You aree prompted to enter the user name you want to log in as.

2. To use the default username, press enter; otherwise, enter another login name.

NetWare 4.x server in bindery emulation mode

Enter nwlogin -s server -b -u username and press.

For example: nwlogin -s Server1 -b -u .nwelch.caldera

This forces bindery authentication of an NDS object within the bindery context defined for that server instead of NDS authentication.

NetWare 3.x bindery server

Enter nwlogin -s server -u username and press. For example:

nwlogin -s Server1 -u nwelch

You are prompted to enter your NetWare password.

2. Enter your NetWare password.

You can set up access rights for NetWare files and directories. For example, you can assign files and directories individually to any number of users, groups, or other NDS objects.

Depending on the rights of the NetWare files or directories you try to access, you may or may not be able to access them. To set directory and file access rights, see page 36 for Bindery servers or page 44 for NDS trees.

Logging Out of NetWare Servers and Directory Trees

If you no longer want a connection to a NetWare server or directory tree, you should log out.

Depending on what you're logging out of, choose one of these:

 

To log out of a NetWare server

To log out of a NetWare directory tree

To log out of all connections

Enter nwlogout -s server

For example, nwlogout -s Server 1

Only the server you logged out of is inaccessible

Enter nwlogout -t tree

For example, nwlogout -t Simpson

All servers in the tree you log out of are now inaccessible

Enter nwlogout -a

Accessing the NetWare Directory Structure

Once you're logged into NetWare, you can access files on a NetWare server just like any other files in your filesystem. As you browse through the NetWare directories, the system automatically finds any NetWare servers on your network.

Depending on what directory you want to access, do one of the following:

 

To access the bindery servers on your network

To access the NDS Directory trees on your network

Change to the /NetWare/ bindery directory.

Each server's subdirectory includes directories that contain file-like objects that refer to volumes or objects on that NetWare Bindery server (for example, users, groups, and print queues).

Change to the /NetWare/NDS directory.

The name of each NDS Directory tree is synonymous with the [Root] object in that Directory tree. When you change to an NDS Directory tree, you see the top-level objects in that tree. You can continue to traverse deeper into the directory structure through layers of NDS container objects. Whenever a leaf object appears in the Directory tree (like User or Group objects), the object appears as a file with the object's name.

NOTE: Though items (directories and files) on NetWare volumes appear in Linux directories, the NetWare servers handle the security for these items. For example, if you log in to a Directory tree as user admin, you can use the nwdsmodify utility to change the values of an attribute. If you log out and log in again as user nwelch, you may not have rights to see the values of that attribute, even though the Linux access rights to those objects (as viewed from an Linux directory listing) are the same as when you were logged in as admin.

Identifying Login Information

If you want to see all of your NetWare connection information, enter

nwwhoami

The following information appears:

  • The Novell Directory Services trees you're connected to.
  • The username used to connect to each tree.
  • The server name and NetWare version for each server in each NDS tree to which you're authenticated.
  • The authentication status of the connection to the server (NDS, bindery, or none).
  • If the connection is via bindery authentication, the username that you're logged in as on that server.
  • The connection numbers for each connection.
  • Similar connection information for each bindery server that you're connected to that isn't part of an NDS tree.

NOTE: If you're using a different username (for example, because you logged in as a different Linux user), your NetWare connection information will change, unless the Single Connection Table option is set to yes.

Changing NetWare Passwords

By default, NetWare doesn't prompt you periodically to change your password. However, if you changed the default settings or you want to change your password at any time, follow the steps in this task.

NOTE: Even when your password expires, NetWare generally lets you continue to log in a fixed number of times before you're locked out. That way, you have plenty of time to change your password. (This is the Grace Login feature.)

Because you may be connected to many NDS trees and NetWare servers, you must indicate which connection's password you want to change. To list your current connections, use the nwwhoami command.

1. Depending on the password you're changing, choose one of these:

 

To change this type of password

Do this

NDS tree

Enter nwpasswd -t tree -u username

For example:

nwpasswd -t caldera -u jsmith)

Bindery-based server

Enter nwpasswd -s server -u username

For example:

nwpasswd -s Server1 -u jsmith

If you're changing a user's password besides your own and you're not already logged in as an administrator- or a supervisor-equivalent, you're asked for your current password.

2. If prompted, enter your current password; otherwise, skip to the next step.

3. Enter the new password, then re-enter the password to confirm it.

Printing with NetWare

The Caldera NetWare client lets you print files directly to a NetWare print queue and specify how you want files to print. When you print files in NetWare, they are sent to a print queue. The print queue is a holding area where files from many users (called print jobs) wait their turn to be printed. You can view or delete items in the print queue.

This section explains how to do these tasks:

* Print files.

* View and delete print requests.

Printing Files

You can print files from a command line, and specify how the file prints. For example, you can specify the number of copies to print or whether or not carriage returns are automatically inserted.

Use this table to enter your print options:

 

To do this

Do this

Print a file if the NetWare environment variables are set

Enter nwprint filename

NOTE: If only one of the variables is set, you must use the -s option and the name of the server, or the -q option and the queue name.

Print a directory listing if the NetWare environment variables are set

Access the directory you want to print, then enter ls | nwprint

NOTE: If the NetWare environment variables aren't set, specify the print server and queue.

Choose the print queue and server at the time you print files

Do one of these:

· Enter nwprint -s server -q queue_file

· Enter nwprint -b bindery_path_to_print_queue fil

For example:

nwprint -b /NetWare/bindery/

salish/objects/Q1 myfile.txt

· Enter nwprint -n NDS_path_to_print_queue file

For example:

nwprint -n /NetWare/NDS/tree1/ myorg/Q1

myfile.txt

NOTE: If your printer doesn't automatically return to the beginning of the next line (causing your text to have the "stair-step" effect), use the -c option (for example, enter nwprint -c myfile.txt).

Viewing and Deleting Print Requests

To view the contents of a Print Queue:

Depending on what information you want to list, do one of these:

 

To view this

Do this

Print requests in a certain queue

Enter nwqstat -s server -q queue

Examples:

nwqstat -s Server1 -q Q2

nwqstat -n /NetWare/NDS/Caldera/Caldera/Q2

Print requests in a certain queue sent by a certain user

Enter nwqstat -s server -q queue username

For example:

nwqustat -s caldera -q laserjet bjohnson

A list of print requests appears. Here's a sample:

Print queue is ready.

SEQ OWNER DESCRIPTION STATUS FORM JOB ID

1 nwelch sunny:/a/reports/rab.doc job Active 01e0001

2 nwelch C:\CALDERA\UNIXEXP2.WPD job Active 01e02002

3 nwelch Expense Report job Active 01e01001

NOTE: If you don't specify a server and queue to view, the system displays the print requests from the preferred server and queue specified in the environment variables (explained on page 16).

To delete one of the print jobs, enter nwdelqjob -s server -q queue job_number

Examples:

nwdelqjob -s caldera -q laser 0d134a32

nwdelqjob -n NetWare/NDS/Caldera/Caldera/ Q2 0d134a32

NOTE: If you don't specify a server and queue from which you're deleting a job request, the system uses the preferred server and queue specified in the environment variables.

Using the NetWare Administrative Utilities for Linux

Caldera® NetWare® for Linux® includes utilities for administering a NetWare server from the NetWare client for Linux, including how to administer bindery and NDS services.

Administering Bindery Servers

NetWare 3.x servers store such essential information as user names and their group membership in a special database called the bindery. Caldera NetWare for Linux provides utilities to administer NetWare 3.x servers by creating, viewing, modifying, and deleting objects and their properties in the server's bindery. Facilities are also provided to administer disk space quotas and filesystem trustees.

This section explains how to do these tasks:

* Create new bindery objects.

* Work with bindery object properties.

* Work with bindery object property values.

* Manage disk space quotas on bindery servers.

* Manage filesystem trustees on bindery servers.

Creating New Bindery Objects

Bindery objects are used by NetWare 3.x servers to represent and hold information about entities such as Users, Groups of Users, Print Queues, and other application-specific entities.

Depending on what you want to create, choose one of these:

* To create a new User object on that Bindery server, enter

nwbocreate -s server_name -o object_name -t user_type -H home_directory

NOTE: For example, to create a user object named "rainier" of type 1 ("user") on the bindery server "salish," enter nwbocreate -s /NetWare/bindery/salish -o rainier -t 1 -H sys/home

* To create a new Group object on that Bindery server, enter

nwbocreate -s server_name -o object_name -t user_type

NOTE: For example, to create a group object named "writers" of type 2 ("group") on the bindery server "salish," type

nwbocreate -s /NetWare/bindery/salish -o writers -t 2

Working with Bindery Object Properties

Just as the bindery contains objects representing non-filesystem resources, each bindery object consists of properties that contain information about the resource it represents. For example, a user object contains information about groups that it is a member of. These are stored in the GROUPS_I'M_IN property.

1. Log into the NetWare server you want to work with.

NOTE: You must log in as a user with sufficient rights to make any changes to bindery object properties.

2. Depending on what you want to do, choose one of these:

 

To do this

Do this

Add a property

Type nwbpcreate and the following options:

· -o and object's name

· -p and the property's name

· -t and the property's type

· -H and the path to the home directory

· -r and the property's read security

· -w and the property's write security

For example, enter

nwbpcreate -o /NetWare/bindery/ salish/objects/rainier -p FAX_NUMBER -t ITEM

-r ANYONE -w OBJECT

 

Delete a property

Type nwbprm and the following options:

· -o and the object's name

· -p and the property's name

Working with Bindery Object Property Values

The values of any property of a Bindery object can be displayed, provided that you're authorized to view them. Authorization is based on the value of the property's Read Security flag.

A new value can be added to or removed from any property of any Bindery object you're authorized to modify (based on the property's Write Security flag). To add, change, or remove a bindery object's property values:

1. Log into the NetWare server whose property values you want to view.

NOTE: You must log in as a user with sufficient rights to work with bindery object properties.

2. Enter nwboprops -o object

3. Depending on what you want to do, do one of the following:

 

To do this

Do this

View property values

Enter nwbpvalues -o object -p property

Add a property value

Type nwbpadd -o object -p property -t enter -v value

Remove a property value of type SET

Enter nwbprm -o object -p property -v value

IMPORTANT: If you remove a property value of type ITEM, the entire property will be removed. (The "-v value" parameter is superfluous.)

Setting Disk Space Quotas on Bindery Servers

Each directory on a volume attached to a Bindery server can be assigned a space quota. This lets you limit the amount of disk space used by a particular user or application directory. For example, if a user's home directory is limited to 5 MB, the user can't store excessive amounts of information that would make the system unusable for other users.

1. Log into the server whose space quota you want to set.

NOTE: You must log in as a user with sufficient rights to work with disk quotas.

2. To view the current disk space quota for any directory enter

nwboshowspace -d directory_path

For example:

nwboshowspace -d /NetWare/bindery/server3/volumes/home/kentp

3. To set the disk space quota, enter

nwbosetspace -d path_to_directory_service

and any of the following options:

 

Option

Description

--kilobytes or -k

The number of kilobytes (1024 bytes) that this directory can use.

--megabytes or -m

The number of megabytes (1048576 bytes) that this directory can use.

--blocks or -b

The number of 4K blocks that this directory can use.

For example, to limit the home directory for user kentp to about 50 MB of disk space, enter

nwbosetspace -d /NetWare/bindery/server3/volumes/home/kentp -m 50

Managing Filesystem Trustees on Bindery Servers

A filesystem trustee on a NetWare Bindery server is an object (usually a User object) that has been granted a set of access rights to a file or directory on a NetWare volume.

As you view trustee assignments, remember that the effective rights a User has (that is, what the User can actually do with a file or directory) can be a combination of the trustee assignments that the User has to a file or directory, trustee assignments to parent directories, and group trustee assignments. (For more information, see the Supervising the Network guide.)

1. Locate the Bindery object that you want to be the trustee. For example, find the user that you want to grant access to.

2. Depending on what you want to do, do one of these:

 

To do this

Do this

View an object's rights to files

Enter nwboshowtrust -o object and/or directories on the server

Add an object as a trustee toanother file or directory

Enter nwboaddtrust -o object -r [rights_mask] -p object_path

Remove a trustee from a file or directory

Enter nwboaddtrust -o object

-r [rights_mask]

-p object_path

Administering Novell Directory Services (NDS)

NetWare 4 servers store such essential information as user names and their group memberships in a special distributed database. This database is the repository used by Novell Directory Services (NDS). Caldera NetWare for Linux provides utilities to administer an NDS directory by creating, viewing, modifying, and deleting objects and their attributes in NDS. Facilities are also provided to administer disk space quotas and filesystem trustees.

This section explains how to do these tasks:

* Create NDS objects.

* Remove NDS objects.

* Work with NDS object attributes.

* Manage disk space quotas on NDS servers.

* Manage filesystem trustees on NDS servers

Creating NDS Objects

You can create Novell Directory Services objects under any container object in an NDS tree, including the tree's root.

When creating a new NDS object, values for some of its attributes must be specified. These attributes are called mandatory attributes, and vary from object to object. (Most objects don't have a mandatory attribute besides their Common Name.) For example, when a User object is created, a value must be specified for both its Common Name (the name of the object in the Directory tree) and its Surname.

1. Log in to the NDS tree where you want to create an NDS object.

NOTE: The user name you log in as must have sufficient rights to the parent object.

2. Type nwdscreate, including the appropriate parameters, as shown below:

 

To set this type of object

Under this type of container

Specify these parameters

AppleTalk Filing Protocol Server for NetWare AFP NLM

Organization

Organizational Unit

-p path to NDS object's parent

-o object

-t "AFP Server"

Computer object; contents may be application-specific

Organization

Organizational Unit

-p path to NDS object's parent

-o object

-t Computer

Top-level, nationality container for worldwide NDS trees

Tree root

-p path to NDS object's parent

-o object

-t Country

Represents "changeable" directory specifications (for example, an application pointed to/from within a login script)

Organization

Organizational Unit

-o object

-t "Directory Map"

"Host Server" host serverDirectory Map"

MHS-specific place holder for non-User e- mail recipient

Organization

Organizational Unit

-p path to NDS object's parent

-o object

-t "External Entity"

Collection of Users who may given equivalent access

Organization

Organizational Unit

-p path to NDS object's parent

-o object

-t Group

MHS-specific equivalent to Group that isn't limited to containing Users

Organization

Organizational Unit

-p path to NDS object's parent

-o object

-t List

MHS-specific common group of Messaging Servers

Organization

Organizational Unit

-p path to NDS object's parent

-o object

-t "Message Routing Group"

"Division"-level container that may be under a Country object

Tree root

Country

-o object

-t Organization

Generic "role"-equivalent of a person (changeable)

Organization

Organizational Unit

-p path to NDS object's parent

-o object

-t "Organizational Role"

Workgroup-level container object (holds other objects)

Organization

-p path to NDS object's parent

-o object

-t "Organizational Unit"

Represents a NetWare Print Server

Organization

Organizational Unit

-p path to NDS object's parent

-o object

-t "Print Server"

Represents the printer connected to a Print Server

Organization

Organizational Unit

-p path to NDS object's parent

-o object

-t Printer

A shared NetWare login script

Organization

Organizational Unit

-p path to NDS object's parent

-o object

-t Profile "Login Script"

login script

Represents a print queue of a Print Server

Organization

Organizational Unit

-p path to NDS object's parent

-o object

-t Queue

"Queue Directory" path to queue directory

Represents a User who may authenticate to NDS

Organization

Organizational Unit

-p path to NDS object's parent

-o object

-t User

-H path to user's home directory

Surname user's surname

Represents a volume on an NCP Server (files/ directories below)

Organization

Organizational Unit

-p path to NDS object's parent -o object

-t Volume

"Host Resource Name" host server

Removing NDS Objects

You can remove an NDS object at any time. However, if the object is a container, you must first empty it.

1. Log in to the NDS tree where you want to remove an NDS object.

NOTE: The user name you log in as must have sufficient rights to the parent object.

2. Enter

nwdsrm -o path_to_object

NOTE: For example, to remove an object named "rainier" from the tree named "salish," type

nwdsrm -o /NetWare/NDS/salish/Engineering/ rainier

Working with NDS Object Attributes

NetWare lets you assign attributes to each object. For example, attributes for a user may include the user's name, phone number, security access, etc. Because there are many attributes to choose from, the attributes are categorized.

This section explains how to add, change, and delete object attributes.

1. Log in to the NDS tree where you want to change the attributes of an NDS object.

NOTE: The user name you log in as must have sufficient rights to the object.

2. To list an object's attributes, enter

nwdsattrs -o path_to_object

3. Depending on what you want to do, choose one of these:

 

To do this

Do this

View an attribute's values

Enter nwdsattrs -o path_to_object -a attribute

For example:

nwdsvalues -o /NetWare/NDS/salish/ Engineering/rainier -a "Group Membership"

Add or change an attribute value

Enter nwdsmodify -o path_to_object -a attribute -v value -s syntax -c operation

For example:

nwdsmodify -o /NetWare/NDS/Caldera/ Eng/Mktg/Mart -a Description -v "Employee of Year" -s "CI String" -c a

Remove an attribute value

Enter nwdsmodify -o path_to_object -a attribute -s syntax -c operation -v value

For example:

nwdsmodify -o /NetWare/NDS/Caldera/ Eng/ATG -a Member -s "Distinguished Name" -c d -v Mart.Mktg

Managing Disk Space Quotas on NDS Servers

Each directory on a volume attached to an NDS server can be assigned a space quota. This lets you limit the amount of disk space used by a particular user or application directory. For example, if a user's home directory is limited to 5 MB, the user can't store excessive amounts of information that would make the system unusable for other users.

1. Log into the server whose space quota you want to set.

NOTE: You must log in as a user with sufficient rights to work with disk quotas.

2. Enter

nwdsshowspace -d path_to_directory_service

3. To set the disk space quota, enter

nwdssetspace -d path_to_directory_service

and any of the following options:

 

Option

Description

--kilobytes or -k

The number of kilobytes (1024 bytes) that this directory can use.

--megabytes or -m

The number of megabytes (1048576 bytes) that this directory can use.

--blocks or -b

The number of 4K blocks that this directory can use.

For example, to limit the size of the home directory for user mart to about 50 MB of disk space, enter

nwdssetspace -d /NetWare/NDS/Eng_Tree/ Devel/sys/home/mart -m 50

Managing Filesystem Trustees on NDS Servers

A filesystem trustee on a NetWare NDS server is an object (usually a User object) that has been granted a set of access rights to a file or directory on a NetWare volume.

As you view filesystem trustee assignments, remember that the effective rights a User has (that is, what the User can actually do with a file or directory) can be a combination of the trustee assignments that the User has to a file or directory, trustee assignments to parent directories, trustee assignments of parent NDS objects (as limited by any inherited rights filters that may exist), and security equivalence, or group trustee assignments. (For more information, see the Supervising the Network guide guide.)

1. Locate the NDS object for which you want the file or directory to be the trustee.

For example, find the user that you want to grant the access to.

2. Depending on what you want to do, do one of these:

 

To do this

Do this

View an object's rights to files and/ or directories on the server

Enter nwdsshowtrust -o path_to_object

Add or change an object as a trustee to another file or directory

Enter nwdsaddtrust -o path_to_object -r [rights_mask] -p path

For example:

nwdsaddtrust -o /NetWare/NDS/tree1/container1/thomas -r [W] -p /NetWare/NDS/container1/volumes/sys/home/thomas

Remove a trustee from a file or a directory

Enter nwdsaddtrust -o path_to_object -r [rights_mask] -p path

For example:

nwdsaddtrust -o /NetWare/NDS/tree1/container1/thomas -r [W] -p /NetWare/NDS/container1/volumes/sys/home/thomas

NetWare Client for Linux Commands

This section summarizes every command (and its options) for the Caldera® NetWare® Client Linux® utilities.

The commands are divided into these sections:

* General NetWare commands

* Commands for NetWare printing

* Bindery administration commands

* Novell Directory Service (NDS) administration commands

* Commands for launching the graphical NetWare utilities

General NetWare Commands

The following are general NetWare commands:The following are general NetWare commands:

\

 

Utility

Description

Options

nwlogin

Log in (authenticate) to a NetWare 3 or NetWare 4 server, or an NDS Directory trees.

--bindery

--nds

--password the password

--server server name (not complete path)

--tree tree name (not complete path)

--user NetWare username

--linux-uid Linux username

--help

nwlogout

Log out of an NDS Directory tree or a specific NetWare server.

--all

--server server name (not complete path)

--tree tree name (not complete path)

nwwhoami

Show all connection information for NetWare servers and NDS trees.

None

nwpasswd

Change the password for a user account on a specific NetWare server or Directory tree.

--server server name (not complete path)

--tree tree name (not complete path)

--user NetWare username

--password

--help

nwnulpaswd

Set a Bindery user's password to null (clear) so that the user can log in without a password. Can only be used by the Supervisor.

--object bindery path

nwmsg [none|system|all]

Modify the way message broadcasts to NetWare users are handled.

--version (-V)

--all

--server server name (not complete path)

--help

nwsend

Send a broadcast message (up to 80 characters) to NetWare users.

--message text of the message

--server server name (not complete path)

--user NetWare username

--help

 

 

Utility

Description

Options

nwprint file

Send a file to a NetWare Printer via a NetWare Print Queue.

--queue queue name (not complete path)

--server server name (not complete path)

--bindery path to bindery object

--nds path to object

--printserver print server name (not complete path)

--numcopies (-#) number of copies

--pagelength (-l) length of page

--tabsize spaces between tabs

--pagewidth width of page

--formname name of NetWare print form

--jobname banner on banner page

--username NetWare username

--crlf

--nobanner (-N)

nwqstat

Review a NetWare Print Queue, showing jobs in that queue and their status.

--queue queue name (not complete path)

--server server name (not complete path) at

--bindery path to bindery object

--nds path to NDS object

--help

nwdelqjob

Delete a print job from a NetWare Print Queue.

--queue queue name (not complete path)

--server server name (not complete path)

--bindery path to bindery object

--nds path to NDS object

--help

Bindery Administration Commands

The following commands can be used when administering Bindery servers:

 

Utility

Description

Options

nwboaddtrust

Set the access rights of a Bindery user to a file or directory on a Bindery server.

--object path to bindery

--path path

--rights rights mask

nwbocreate

Create a new object on a NetWare Bindery server.

--server path to bindery

--object object name

--type object type

--Homedir path to home directory

nwboprops

List the properties of a Bindery object on a NetWare server.

--object path to bindery

nwborm

Remove an object from the Bindery of a NetWare server.

--object path to bindery

nwbosetspace

Set a disk space quota for a directory on a volume of a NetWare Bindery server.

--directory path to bindery

--kilobytes number of kilobytes (KB)

--megabytes number of megabytes (MB)

--blocks number of 4K blocks

nwboshowspace

Show the disk space quota for a directory on a volume of a NetWare Bindery server.

--directory path to bindery

nwboshowtrust

Display the trustees of a file or directory, or the rights held by a Bindery user.

--object path to bindery

--path path

nwbpadd

Add a value to a property of a bindery object on a NetWare server.

--object path to bindery

--prop property name

--type property type

--value property value

nwbpcreate

Create a new property for a bindery object on a NetWare server.

--object path to bindery

--prop property name

--type property type

--read level of read security

--write level of write security

nwbprm

Remove a value from a property of a bindery object, or an entire property of a bindery object (depending on the property type).

--object path to bindery

--prop property name

--value property value

nwbpvalues

Show all the values of a property of a bindery object on a NetWare Server.

--object path to bindery

--prop property name

Novell Directory Service (NDS) Commands

The following are commands you can use when administering NDS:

 

Utility

Description

Options

nwdsaddtrust

Add a trustee to a file or directory on an NDS volume

--object path to NDS object

--path path

--rights rights mask

nwdsattrs

List the attributes of an NDS object

--object path to NDS object

nwdscreate

Create a new NDS object

--parent path to NDS object

--object object name

--type object type

--Homedir path to home directory

NOTE: If you're creating an object that has mandatory attributes, specify them in this order after all other options: attribute name and attribute value.

nwdsmodify

Modify an attribute value on an NDS object.

--object path to NDS object

--attribute attribute name

--value attribute value

--syntax syntax

--change operation

nwdsrm

Remove an NDS object

--object path to NDS object

nwdssetspace

Set a disk space quota for a directory on a NetWare NDS server.

--directory path to bindery

--kilobytes number of kilobytes (KB)

--megabytes number of megabytes (MB)

--blocks number of 4K blocks

nwdsshowspace

Show the disk space quota for a directory on a NetWare NDS server.

--directory path to directory service

nwdsshowtrust

Show the rights that a user has to a file or directory.

--object path to NDS object

--server server name (not complete path)

--path path

nwdsvalues

List the values of an attribute for an NDS object.

--object path to NDS object

--attribute attribute name

 

 

 

 

 

 

Commands for Launching the Graphical NetWare Utilities

If you are using the X Window System, you can use commands to launch the graphical NetWare utilities.

 

Utility

Description

Options

xnwprint

file Print to a NetWare print queue.

--queue queue name (not complete path)

--server server name(not complete path)

--bindery path to bindery

--nds path to object

--printserver print server name (not complete path)

--numcopies (-#) number of copies

--pagelength (-l) length of page

--tabsize spaces between tabs

--pagewidth width of page

--formname name of NetWare print form

--jobname banner on banner page

--username NetWare username

--crlf

--nobanner

xnwdsadmin

Administer the properties of an NDS object.

--object path to NDS object

xnwdsrights

View or grant an NDS object rights to a directory or file on a NetWare volume.

--path path to NDS object's parent

xnwdsrights

View or grant an NDS objectrights to a directory or file on a NetWare volume.

--object path to NDS object

xnwdsrightsDD

View or grant NDS object rights to specified directories or files on a NetWare volume.

--object path to NDS object

--path path to NetWare NDS file or directory

xnwdstrustees

Manage the NDS trustees of a NetWare directory or file.

--path path to NetWare NDS file or directory

xnwboadmin

Administer the properties of a NetWare Bindery object.

--object path to bindery object

xnwbocreate

Create a new Bindery object.

--server path to bindery server

--type number type

xnwborights

Grant a Bindery object rights to a directory or file on a NetWare volume.

--object path to bindery object

xnwborightsDD

View or grant a Bindery object rights to a directory or file on a NetWare volume.

--object path to bindery object

--path path to NetWare bindery file or directory

xnwbotrustees

Manage the trustees of a directory or file on a NetWare Bindery server.

--path path to NetWare bindery file or directory

xnwmanageq

View print jobs in a NetWare print Queue and optionally delete jobs in that Queue.

--queue queue name (not complete path)

--server server name (not complete path)

--bindery path to bindery

--nds path to NDS object